Union
Union<T1, T2, T3>
T1 | T2 | T3
Namespace: System
Assembly: Raven.Core.dll
Source file: Union.rvn
Inheritance: Object → ValueType → Union<T1, T2, T3>
Represents a value that can contain one of three alternative types.
Type parameters
| Name | Description |
|---|---|
T1 |
The first alternative type. |
T2 |
The second alternative type. |
T3 |
The third alternative type. |
Constructors
3 items
Union(value: T1)
No summary available.
Union(value: T2)
No summary available.
Union(value: T3)
No summary available.
Properties
2 items
HasValue: bool
Represents a value that can contain one of three alternative types.
Value: object?
Represents a value that can contain one of three alternative types.
Methods
7 items
Equals(obj: object?) -> bool
Indicates whether this instance and a specified object are equal.
Inherited from ValueType.Equals
GetHashCode() -> int
Returns the hash code for this instance.
Inherited from ValueType.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
ToString() -> string
No summary available.
Overrides ValueType.ToString
TryGetValue(value: out T1) -> bool
No summary available.
TryGetValue(value: out T2) -> bool
No summary available.
TryGetValue(value: out T3) -> bool
No summary available.